package com.atguigu.gulimall.order.config;

import feign.Logger;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

@Configuration
public class FeignConfig {

    @Bean
    Logger.Level feignLoggerLevel() {
        return Logger.Level.FULL;//详细日志，除了headers中定义的信息之外，还有请求和响应正文及元数据信息
    }
}
